package com.xingkeduo.util.tool;

/**
 * 日志统一处理类
 * 
 * @author GJ
 * @time 2016年9月17日 下午1:32:57
 * @description
 */
public class LogUtil
{
	public static void showLog(Throwable e)
	{
		showLogByConsole(e);
	}

	public static void showLog(String msg)
	{
		showLogByConsole(msg);
	}

	public static void showLogByConsole(Throwable e)
	{
		e.printStackTrace();
	}

	public static void showLogByConsole(String msg)
	{
		System.out.println(msg);
	}

	public static void showLogByFile(Throwable e)
	{
		e.printStackTrace();
	}

	public static void showLogByFile(String msg)
	{
		System.out.println(msg);
	}
}
